go/build.Package.Goroot (field)

12 uses

	go/build (current package)
		build.go#L448: 	Goroot        bool     // package found in Go root
		build.go#L629: 				p.Goroot = true
		build.go#L700: 							p.Goroot = isGoroot
		build.go#L742: 						p.Goroot = true
		build.go#L754: 				p.Goroot = true
		build.go#L781: 					p.Goroot = true
		build.go#L823: 			if !p.Goroot || (installgoroot.Value() == "all" && p.ImportPath != "unsafe" && p.ImportPath != "builtin") {
		build.go#L824: 				if p.Goroot {
		build.go#L838: 		if ctxt.Compiler == "gccgo" && p.Goroot {
		build.go#L854: 	if ctxt.Compiler == "gccgo" && p.Goroot {
		build.go#L1278: 	p.Goroot = f[3] == "true"

	golang.org/x/tools/internal/gcimporter
		exportdata.go#L319: 			if bp.Goroot && bp.Dir != "" {